package com.dzsw.test.util;

import org.springframework.util.StringUtils;

public class ExcelUtil {

    public static void main(String[] args) {
        String s = "ssss   aaa   aaa";
        System.out.println(s.replace(" ", ""));
        System.out.println(s.replaceAll("\\s+", ""));
        System.out.println(StringUtils.trimAllWhitespace(s));
    }
}
